package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_order")
public class Order {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String number="";//订单号
    private String phone="";//手机号
    private double money;//支付金额
    private int points = 0;// 消耗积分
    private long createTime;//创建时间
    private Integer createAdmin=0;//创建人
    private int status;//1待支付 2已支付 3已取消
    @TableField(exist = false)
    private String createAdminName;
}
